package cn.lutu.protocol.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @date 2023-06-03
 * @author luoyinhan
 * */
@Data
@TableName("t_invoices")
public class Invoice {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long orderId;
    private String subject;
    private Long userId;
    private String title;
    private String taxNumber;
    private String address;
    private Long phone;
    private String content;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    private String status;
}
